<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>测试页面</title>
  </head>
  <body>
    <h2>测试用网页</h2>
    <button>测试事件</button>
    <p></p>
    <script>
      const button = document.querySelector("button");
      button.addEventListener("click", () => {
        mk.sayHi("测试一下注入的sayHi方法");
        console.log(window.mk);
      });
    </script>
    <!-- 引入调试控制台 -->
    <script src="./eruda.min.js"></script>
    <script>
      eruda.init();
    </script>
  </body>
</html>
